﻿using Sharp.WeShare.Common;
using Sharp.WeShare.MP.MsgEntity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MpTest
{
    public partial class Test : System.Web.UI.Page
    {
        public string sss;
        protected void Page_Load(object sender, EventArgs e)
        {
            var xml = @"<xml><ToUserName><![CDATA[gh_8d1ff4fd69cd]]></ToUserName>
<FromUserName><![CDATA[o8mXItyyhht1ubxsO9nidRzfMIOU]]></FromUserName>
<CreateTime>1476630543</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[pic_weixin]]></Event>
<EventKey><![CDATA[weixin]]></EventKey>
<SendPicsInfo><Count>2</Count>
<PicList>
	<item>
		<PicMd5Sum><![CDATA[034c5d0cd74b2dc3cd70ffec9bd847d9]]></PicMd5Sum>
	</item>
	<item>
		<PicMd5Sum><![CDATA[d2f0b6a710182ba5a2351652d82f6c40]]></PicMd5Sum>
	</item>
</PicList>
</SendPicsInfo>
</xml>";
            var obj = Utils.XmlToObject<PicMenuEventMsg>(xml);
        }
    }
}